package org.orders.services.impl;

import org.orders.persistence.domain.OrderPrint;
import org.orders.persistence.mapper.OrderPrintMapper;
import org.orders.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
public class UserServiceImpl implements UserService{

	@Autowired
	private OrderPrintMapper orderPrintMapper;
	@Transactional
	public void add() {
		OrderPrint orderPrint = orderPrintMapper.selectByPrimaryKey(559L);
		System.out.println(orderPrint.getPrintTime());
	}

}
